package com.example.community.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.community.dao.pojo.Comment;

import java.util.List;

public interface CommentMapper extends BaseMapper<Comment> {

    List<Comment>  selectCommentByEntity(int entityType,int entityId,int offset,int limit);

    int selectCountByEntity(int entityType, int entityId);
}
